home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / nasanets.zip / MAKEFILE < prev    next >
Text File  |  1990-06-07  |  3KB  |  99 lines

  1. !if $(msc) > 0
  2.  
  3. compile=cl /c /AL /Ox $(flgs)
  4. link=cl /AL /Ox $(flgs)
  5. linkpend=/link /SE:512 /ST:4000 /NOE /F /E /PACK
  6. exec=/Fe
  7.  
  8. !else
  9.  
  10. compile=tcc -c $(flgs) -ml
  11. link=tcc $(flgs) -ml
  12. exec=-e
  13.  
  14. !endif
  15.  
  16.  
  17. !if $(delivery) > 0
  18.  
  19. $(dvnm).exe : activate.obj lnrate.obj compile.obj net.obj layer.obj \
  20.               dribble.obj weights.obj convert.obj $(dvnm).obj buildnet.obj \
  21.               teach.obj prop.obj pairs.obj show.obj netio.obj parser.obj \
  22.               sysdep.obj
  23.     $(link) $(exec)$(dvnm) *.obj $(linkpend)
  24.  
  25. $(dvnm).obj : $(dvnm).c buildnet.c net.c prop.c pairs.c dribble.c convert.c \
  26.           sysdep.c common.h weights.h layer.h net.h netio.h
  27.     $(compile) $(dvnm).c
  28.  
  29. !else
  30.  
  31. nets.exe : activate.obj lnrate.obj compile.obj net.obj layer.obj dribble.obj \
  32.       weights.obj convert.obj netmain.obj buildnet.obj teach.obj \
  33.       prop.obj pairs.obj show.obj netio.obj parser.obj sysdep.obj
  34.     $(link) $(exec)nets *.obj $(linkpend)
  35.  
  36. netmain.obj : netmain.c buildnet.c compile.c convert.c dribble.c layer.c \
  37.           netio.c net.c pairs.c show.c sysdep.c teach.c common.h layer.h \
  38.           weights.h net.h netio.h
  39.     $(compile) netmain.c
  40.     
  41. !endif
  42.  
  43.  
  44. activate.obj : activate.c common.h
  45.     $(compile) activate.c
  46.  
  47. buildnet.obj : buildnet.c convert.c layer.c lnrate.c netio.c parser.c \
  48.            weights.c common.h layer.h weights.h net.h netio.h
  49.     $(compile) buildnet.c
  50.  
  51. compile.obj : compile.c buildnet.c net.c netio.c sysdep.c common.h layer.h \
  52.           weights.h net.h netio.h 
  53.     $(compile) compile.c
  54.  
  55. convert.obj : convert.c common.h
  56.     $(compile) convert.c
  57.  
  58. dribble.obj : dribble.c convert.c net.c netio.c common.h layer.h weights.h \
  59.           net.h netio.h
  60.     $(compile) dribble.c
  61.  
  62. layer.obj : layer.c convert.c lnrate.c weights.c common.h layer.h weights.h \
  63.         net.h netio.c 
  64.     $(compile) layer.c
  65.  
  66. lnrate.obj : lnrate.c convert.c common.h 
  67.     $(compile) lnrate.c
  68.  
  69. net.obj : net.c convert.c netio.c pairs.c parser.c prop.c common.h layer.h \
  70.       weights.h net.h netio.h
  71.     $(compile) net.c
  72.  
  73. netio.obj : netio.c common.h netio.h
  74.     $(compile) netio.c
  75.  
  76. pairs.obj : pairs.c convert.c netio.c parser.c sysdep.c common.h layer.h \
  77.         weights.h net.h netio.h
  78.     $(compile) pairs.c
  79.  
  80. parser.obj : parser.c convert.c netio.c pairs.c common.h netio.h
  81.     $(compile) parser.c
  82.  
  83. prop.obj : prop.c activate.c common.h layer.h weights.h net.h
  84.     $(compile) prop.c
  85.  
  86. show.obj : show.c layer.c net.c netio.c weights.c common.h layer.h weights.h \
  87.        net.h
  88.     $(compile) show.c
  89.  
  90. sysdep.obj : sysdep.c common.h
  91.     $(compile) sysdep.c
  92.  
  93. teach.obj : teach.c convert.c dribble.c layer.c netio.c pairs.c prop.c \
  94.         sysdep.c common.h layer.h weights.h net.h
  95.     $(compile) teach.c
  96.  
  97. weights.obj : weights.c convert.c netio.c common.h layer.h weights.h netio.h
  98.     $(compile) weights.c
  99.